﻿section#main
{
    padding: 25px 25px !important;
}
article#scrumboad
{
    min-width: 780px;
}

#barraScrumBoard > div
{
    display: inline-block;
}
#menuNovosItens > li
{
    display: inline-block;
    padding: 3px;
    border: 1px solid black;
    border-radius: 3px;
    margin-left: 3px;
    padding: 3px 3px 3px 23px;
    cursor:pointer;
}
#menuNovosItens > li.bug
{
    background: url("/TeamPortal/Content/images/icons/black/png/bug_icon_16.png") no-repeat;
    background-position: 3px center;    
}
#menuNovosItens > li.itembacklog
{
    background: url("/TeamPortal/Content/images/icons/black/png/spechbubble_sq_icon_16.png") no-repeat;
    background-position: 3px center;
}
#menuNovosItens > li.task
{
    background: url("/TeamPortal/Content/images/icons/black/png/doc_new_icon_16.png") no-repeat;
    background-position: 3px center;
}
/* combo de seleção do sprint */

#comboSelectSprint > a
{
    border: 1px solid black;
    padding: 3px;
    font-size: 14px;
    border-radius: 3px;
    
}
#comboSelectSprint > div
{
    max-height: 200px;
    min-width: 200px;
    background-color: #FFF;
    font-size: 14px;
    position: absolute;
    margin-top: 10px;
    z-index: 90000;
    overflow: auto;
    padding: 5px;
    box-shadow: 0px 3px 5px #444;
    
}
#comboSelectSprint > div > ul ul
{
    margin: 3px 0px 3px 3px;
}
#comboSelectSprint > div > ul  li > span
{
    font-size: 12px;
}
#comboSelectSprint > div > ul  li.atual 
{
    font-weight: bold;
}

article#scrumboad .tableboard
{
    width:100%;
}


article#scrumboad .tableboardmain > thead > tr > th
{
    width: 33%;
    font-weight: bold;
    text-decoration: underline;
    padding-bottom: 5px;
}
article#scrumboad .tableboardmain > thead > tr > th.done
{
    width: 37%;
}
article#scrumboad .tableboardmain > thead > tr > th.todo
{
    width: 37%;
}
article#scrumboad .tableboardmain > thead > tr > th.inprogress
{
    width: 22%;
}

article#scrumboad div.boardtitleitem
{
    font-size: 14px;
    padding: 3px 3px 3px 16px;
    border: 1px solid black;
    text-align: left;
    overflow: hidden;
}
article#scrumboad .scrumboaritem.bug > div.boardtitleitem
{
    background: #CCCCCC url("/TeamPortal/Content/images/icons/black/png/bug_icon_16.png") no-repeat;
    background-size: 10px 10px;
    background-position: 2px center;
}
article#scrumboad .scrumboaritem.itembacklog > div.boardtitleitem
{
    background: #CCCCCC url("/TeamPortal/Content/images/icons/black/png/spechbubble_sq_icon_16.png") no-repeat;
    background-size: 10px 10px;
    background-position: 2px center;
}

article#scrumboad div.scrumboaritem.oversub
{
    border: 1px solid Red;
}

/* indicação de que é um sub intem*/
article#scrumboad div.boardtitleitem > ul.subs
{
    display:inline-block;
}
article#scrumboad div.boardtitleitem > ul.subs > li
{
    height: 10px;
    width: 10px;
    display: inline-block;
}
article#scrumboad div.boardtitleitem > ul.subs > li:last-child
{
    /* TODO: resolver este problema do caminho de imagens do principal */
    background: url("/TeamPortal/Content/smoothness/images/ui-icons_222222_256x240.png") repeat scroll -36px -68px transparent;
}
/* titulo do item*/
article#scrumboad div.boardtitleitem > p
{
    display:inline-block;
}

/* menu de ações para o item */
article#scrumboad div.boardtitleitem > ul.menu
{
    display:inline-block;
    float: right;
}
article#scrumboad div.boardtitleitem > ul.menu > li
{
    display: inline-block;
}
article#scrumboad div.boardtitleitem >  ul.menu > li.hideShow
{
    height: 10px;
    width: 12px;
    cursor: pointer;
}
article#scrumboad div.boardtitleitem >  ul.menu > li.hideShow.close
{
    background: url("/TeamPortal/Content/smoothness/images/ui-icons_222222_256x240.png") repeat scroll -2px -100px transparent;    
}
article#scrumboad div.boardtitleitem >  ul.menu > li.hideShow.open
{
    background: url("/TeamPortal/Content/smoothness/images/ui-icons_222222_256x240.png") repeat scroll -18px -100px transparent;
}
article#scrumboad div.boardtitleitem >  ul.menu > li.btnEdit
{
    cursor: pointer;
    margin-right: 2px;
    overflow:hidden;
    padding-left: 12px;
    font-size: 0px;
    padding-top: 10px;
    background: url("/TeamPortal/Content/images/icons/black/png/pencil_icon_16.png") no-repeat;
    background-size: 10px 10px;
}
article#scrumboad div.boardtitleitem >  ul.menu > li.btnTask
{
    cursor: pointer;
    margin-right: 2px;
    overflow:hidden;
    padding-left: 12px;
    font-size: 0px;
    padding-top: 10px;
    background: url("/TeamPortal/Content/images/icons/black/png/doc_new_icon_16.png") no-repeat;
    background-size: 10px 10px;
}


article#scrumboad .tableboarditem
{
    margin-top: 5px;
}
article#scrumboad .tableboarditem > tbody
{
    padding-top: 5px;
}


/* linha das tabelas */
article#scrumboad .tableboard td.tasks
{
    vertical-align: top;
    border-right: 1px solid #CCC;
    padding: 5px 0px;
}
article#scrumboad .tableboard td.tasks.done
{
    width: 37%;
}
article#scrumboad .tableboard td.tasks.todo
{
    width: 37%;
}
article#scrumboad .tableboard td.tasks.inprogress
{
    width: 22%;
}
article#scrumboad .tableboard td.tasks:last-child
{
    border-right: none;
}

article#scrumboad .tableboard p.sem
{
    width: 100%;
    padding: 5px;
    font-size: 12px;
    font-style: italic;
    color: #666;
    text-align: center;
}

/* formatação do postit */
div.taskSingle
{
  margin:3px;  
  float:left;
  height:75px;  
  width:100px;
  display:inline-block;
  position: relative;
  color:#000;
  box-shadow: 3px 3px 5px rgba(33,33,33,.7);
}

div.taskSingle .interno
{
    padding: 3px;
    font-size: 10px;
}

div.taskSingle .interno > header
{
}
div.taskSingle .interno > header > h1
{
    font-size: 11px;
    overflow: hidden;
    text-overflow:ellipsis;
    font-weight: normal;
    height: 36px;
    line-height: 12px;
}
div.taskSingle .interno > header > h1 .taskid
{
    font-weight: bold;
    display: none;
}

div.taskSingle .interno > div.user
{
    margin: 5px 0px 0px;
    height: 12px;
}
div.taskSingle .interno > div.user > p
{
    width: 75%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
    text-align: right;
    float: right;
    font-style: italic;
    color: #666;
    height: inherit;
}
div.taskSingle .interno > footer
{
    margin: 1px 0px 0px;
}
/*div.taskSingle .interno > footer > p.remaining
{
    font-weight: bold;
}
div.taskSingle > .interno > footer > select.remaining
{
    display: none;
}*/
/* status */
article#scrumboad .tableboard .tasks.done div.taskSingle,
article#scrumboad .tableboard .tasks.done div.taskSingle .interno
{
    background: #cfc;
}
article#scrumboad .tableboard .tasks.todo div.taskSingle,
article#scrumboad .tableboard .tasks.todo div.taskSingle .interno
{
    background: #ffc;
}
article#scrumboad .tableboard .tasks.inprogress div.taskSingle,
article#scrumboad .tableboard .tasks.inprogress div.taskSingle .interno
{
    background: #ccf;
}


/* quando rolar o over */
div.taskSingle:hover .interno
{
    box-shadow:3px 3px 10px rgba(33,33,33,.7);
    z-index:5;

    position: relative;
    
    height: 150px;
    width: 200px;
    
    top: -50px;
    left: -25px;
    
    padding: 5px;
}
div.taskSingle:hover .interno > header > h1
{
    overflow: hidden;
    height: 12px !important;
}
div.taskSingle:hover .interno > header > h1 .taskid
{
    display:inline-block !important;
}
div.taskSingle:hover .interno > header > h1 .title
{
    display: none;
}
div.taskSingle:hover .interno > h1.full
{
    overflow: visible;
    white-space: normal;
    text-overflow: none;
    font-size: 12px !important;
    margin-top: 10px;
    height: 90px;
    display:block;
}

/*div.taskSingle:hover .interno > footer > p.remaining
{
   display: none;
}
div.taskSingle > .interno > footer > select.remaining
{
    display: block;
}*/

div.taskSingle > .interno > div.listSubTask > div.taskGroup,
div.taskSingle > .interno > div.listSubTask > div.taskSingle
{
    display:none;
}
/* task com subtasks */
div.taskGroup
{
    border: 1px dotted #ccc;
    border-radius: 5px;
    padding: 4px;
    
    
    margin:3px;  
    float:left;
    min-width: 100px;
    max-width: 75%;
    display:inline-block;
    position: relative;
    

}
div.taskGroup .interno > header
{
    width:inherit;
}
div.taskGroup .interno > header > h1
{
    font-size: 11px;
    overflow: hidden;
    text-overflow:ellipsis;
    font-weight: normal;
    height: 12px;
    line-height: 12px;
    width:inherit;
}
div.taskGroup > .interno > header > h1 > .taskid
{
    font-weight: bold;
    font-size: 10px;
    cursor:pointer;
}
div.taskGroup > .interno > header > h1 > .title
{
    cursor:pointer;
}
div.taskGroup > .interno > header > h > .taskid:after
{
    content:" - ";
}

div.taskGroup > .interno > footer
{
    margin: 4px 0px 0px;
    clear: both;
    font-size: 10px;
}
/*div.taskGroup > .interno > footer > p.remaining
{
    font-weight: bold;
}*/

div.taskGroup:hover
{
    border-color:Red;
}

/* abrir e fechar a task com subs */
div.taskGroup > .interno > header > h1 > a.hideShow,
div.taskSingle > .interno > header > h1 > a.hideShow
{
    cursor: pointer;
    margin-right: 2px;
    overflow:hidden;
    padding-left: 12px;
    font-size: 0px;
    padding-top: 10px;
}
div.taskGroup > .interno > header > h1 >  a.hideShow{
    background: url("/TeamPortal/Content/smoothness/images/ui-icons_222222_256x240.png") repeat scroll -18px -100px transparent;
}
div.taskSingle > .interno > header > h1 >  a.hideShow
{
    background: url("/TeamPortal/Content/smoothness/images/ui-icons_222222_256x240.png") repeat scroll -2px -100px transparent;    
}

div.taskSingle:hover > .interno > header >  ul.menu
{
    display:inline-block;
}


/*seleção do tempo */

div.taskSingle .comboSelectRemaing > a
{
    text-decoration: none;
    color: #000;
    font-weight: bold;
    
}
div.taskSingle:hover .comboSelectRemaing > a
{
    padding: 2px 4px 2px 2px;
    font-size: 10px;
    float:left;
    background: #FFF;
    border: 1px solid #CCC;
    border-radius: 3px;
}

div.taskSingle:hover .comboSelectRemaing > a .ico
{
     background: url("/TeamPortal/Content/smoothness/images/ui-icons_222222_256x240.png") no-repeat scroll -2px -15px;
     padding: 3px 5px;
     margin-right: 4px;
     
}
div.taskSingle .comboSelectRemaing > a .dividir
{
    color: Red;
}
.comboSelectRemaing > div
{
    height: 100px;
    /*background-color: #FFF;*/
    position: absolute;
    margin-top: -110px;
    z-index: 90000;
    padding: 5px;
    /*box-shadow: 0px 3px 5px #444;
    border-radius: 3px;*/
    float:right;
}

/* botão abrir edição task */
div.taskGroup > .interno > header > h1 > a.btnEdit,
div.taskSingle > .interno > header > h1 > a.btnEdit
{
    cursor: pointer;
    margin-right: 2px;
    overflow:hidden;
    padding-left: 12px;
    font-size: 0px;
    padding-top: 10px;
    background: url("/TeamPortal/Content/images/icons/black/png/pencil_icon_16.png") no-repeat;
    background-size: 10px 10px;
}
div.taskSingle > .interno > header > h1 > a.btnEdit
{
    display:none;
}
div.taskSingle:hover > .interno > header > h1 > a.btnEdit
{
    display:inline-block;
}
